package cn.mayaslight.wechat.api.bean.message;


public class TextQyMessage extends QyMessage {

	public TextQyMessage(String touser, String totag, String toparty, String safe, String agentid) {
		super(touser, "text", totag, toparty, safe, agentid);
	}

	public TextQyMessage(String touser,String content, String totag, String toparty, String safe, String agentid){
		this(touser, totag, toparty, safe, agentid);
		this.text = new Text();
		this.text.setContent(content);
	}
	
	private Text text;

	public Text getText() {
		return text;
	}
	
	public void setText(Text text) {
		this.text = text;
	}

	public static class Text {
		
		private String content;

		public String getContent() {
			return content;
		}

		public void setContent(String content) {
			this.content = content;
		}
	}
}
